package cn.nange.cmfz.entity;

import lombok.Data;

import java.util.List;
@Data
public class TreeNode {
    /**
     * title-->String
     * id-->String
     * children-->List/Set/数组
     * href-->String
     * spread--boolean
     * checked-->boolean
     * disabled-->boolean
     */

    //属性名一定不能变；就是因为layui的tree模块就是用这些名字获取数据的

    private String title;
    private String id;
    private List<TreeNode> children;
    private String href;
    private boolean spread;
    private boolean checked;
    private boolean disabled;
}
